package com.clkj.zhonghui.pojo.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;

/**
 * @author jiarun
 * @date Fri Jul 12 15:27:47 CST 2024
 */
@ApiModel( value ="t_zh_productSpecials" )
@Table( name ="t_zh_productSpecials" )
public class ProductSpecials  implements Serializable {

    @Id
   	@Column(name = "special_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer specialId;

	/**
	 * 专区或标签名称
	 */
   	@Column(name = "special_name" )
	@ApiModelProperty( value="专区或标签名称")
	private String specialName;

	/**
	 * 背景图
	 */
   	@Column(name = "special_img" )
	@ApiModelProperty( value="背景图")
	private String specialImg;

	/**
	 * 0标识专区  1为标签
	 */
   	@Column(name = "special_flag" )
	@ApiModelProperty( value="0标识专区  1为标签")
	private String specialFlag;

	/**
	 * 0未启用 1已启用
	 */
   	@Column(name = "special_status" )
	@ApiModelProperty( value="0未启用 1已启用")
	private String specialStatus;

	/**
	 * 商品id，用,分割
	 */
   	@Column(name = "product_ids" )
	@ApiModelProperty( value="商品id，用,分割")
	private String productIds;

	/**
	 * 需要主页面展示的商品，用,分割
	 */
   	@Column(name = "special_products" )
	@ApiModelProperty( value="需要主页面展示的商品，用,分割")
	private String specialProducts;

	/**
	 * 排序
	 */
   	@Column(name = "special_paixu" )
	@ApiModelProperty( value="排序")
	private Integer specialPaixu;

   	@Column(name = "shop_id" )
	@ApiModelProperty( value="null")
	private Integer shopId;

   	@Transient
    private List<Product> productList;

  public Integer getSpecialId() {
    return specialId;
  }

  public void setSpecialId(Integer specialId) {
    this.specialId = specialId;
  }


  public String getSpecialName() {
    return specialName;
  }

  public void setSpecialName(String specialName) {
    this.specialName = specialName;
  }


  public String getSpecialImg() {
    return specialImg;
  }

  public void setSpecialImg(String specialImg) {
    this.specialImg = specialImg;
  }


  public String getSpecialFlag() {
    return specialFlag;
  }

  public void setSpecialFlag(String specialFlag) {
    this.specialFlag = specialFlag;
  }


  public String getSpecialStatus() {
    return specialStatus;
  }

  public void setSpecialStatus(String specialStatus) {
    this.specialStatus = specialStatus;
  }


  public String getProductIds() {
    return productIds;
  }

  public void setProductIds(String productIds) {
    this.productIds = productIds;
  }


  public String getSpecialProducts() {
    return specialProducts;
  }

  public void setSpecialProducts(String specialProducts) {
    this.specialProducts = specialProducts;
  }


  public Integer getSpecialPaixu() {
    return specialPaixu;
  }

  public void setSpecialPaixu(Integer specialPaixu) {
    this.specialPaixu = specialPaixu;
  }


  public Integer getShopId() {
    return shopId;
  }

  public void setShopId(Integer shopId) {
    this.shopId = shopId;
  }

    public List<Product> getProductList() {
        return productList;
    }

    public void setProductList(List<Product> productList) {
        this.productList = productList;
    }
}
